﻿
namespace Jayden.Dll.Core.Logging
{
	public class Level
	{

		public static Level All = new Level("All", int.MinValue);
		public static Level Off = new Level("Off", int.MaxValue);

		public static Level Fine = new Level("Fine", 500);
		public static Level Finer = new Level("Finer", 400);
		public static Level Finest = new Level("Finest", 300);
		public static Level Config = new Level("Config", 700);
		public static Level Info = new Level("Info", 800);
		public static Level Warning = new Level("Warning", 900);
		public static Level Severe = new Level("Severe", 1000);

		protected Level(string name, int value)
		{
			m_Name = name;
			m_Value = value;
		}

		private string m_Name;
		private int m_Value;


		public string Name { get { return m_Name; } }
		public int Value { get { return m_Value; } }
	}
}
